package com.bianmaba.controllers.datacollection;

import com.bianmaba.spring.web.controller.CrudController;
import com.bianmaba.beans.datacollection.TaskInstance;
import com.bianmaba.services.datacollection.ITaskInstanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "collection/task_result")
public class TaskResultController extends CrudController<TaskInstance, String> {
    @Autowired
    private ITaskInstanceService service;

    protected ITaskInstanceService getService() {
        return service;
    }
}
